//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.coldchain.common.redis.aop;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface RedisCache {
    /**
     * 绶存的key值
     * @return
     */
    String cacheName() default "";

    /**
     * 绶存的key值
     * 如果 cacheName不为空则这代表filed值
     * @return
     */
    String key();



    /**
     * 有效果时间 单位分
     * @return
     */
    long expiry() default 0L;

    /**
     * 同步删除的key值
     * @return
     */
    String[] synchroDel() default {};


    CacheAction action() default  CacheAction.GET;




}
